using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text.RegularExpressions;

namespace Portal.GUI.EditoralOffice.MainOffce.NewsEditModules.CacTinLienQuan
{
	public partial class Edit : Portal.API.Module
	{
		protected void Page_Load(object sender, EventArgs e)
		{
			//if (!IsPostBack)
			//{
			//    LoadRuntimeSettings();
			//    object value = ReadRuntimeConfig(true, "cactinlienquan");
			//    if (value != null)
			//    {
			//        arg.Value = value.ToString();
			//        js.Text = "<script>document.getElementById('div_cactinlienquan').innerHTML = arg.Value;</script>";
			//    }
			//}
		}
		protected void btnPostBack_Click(object sender, EventArgs e)
		{
			//string html = arg.Value;

			//PortalDefinition.Module module = new PortalDefinition.Module();
			//module.reference = ModuleRef;
			//module.type = ModuleType;
			//module.LoadRuntimeProperties();
			//module.moduleRuntimeSettings.SetRuntimePropertyValue(true, "cactinlienquan", html);
			//module.SaveRuntimeSettings();

			//((Portal.GUI.EditoralOffice.MainOffce.editnews.editModule)this.Page).loadPresentationModule(ModuleType, ModuleRef);

			//Literal js = Page.FindControl("js") as Literal;
			//if (js != null)
			//{
			//    js.Text = "<script>saveModule();</script>";
			//}
		}
	}
}